package com.cupk.wudi.practice.apidemo.mapper;

import com.cupk.wudi.practice.apidemo.entity.Animal;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface AnimalMapper {

    int addAnimal(Animal animal);
    int deleteAnimalByIDs(String IDs);
    int updateAnimal(Animal animal);
    Animal getAnimalByName(String name);
    List<Animal> getAnimalByType(String type);
    List<Animal> selectAllAnimal();


}
